package com.caiyouxi.user.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户账户
 *
 * @author weichangyong
 * @create 2017-11-13 15:39
 **/
public class UserAccountBean implements Serializable {

    private int id;
    private int user_id;
    private String open_id;
    /**
     * 账号来源。有以下值之一：
     WECHAT:通过微信账号登录注册；
     WEIBO：通过新浪微博账号登录注册；
     QQ：通过 QQ 账号登录注册；
     EMAIL：通过电子邮件注册；
     PHONE：通过手机号码注册。
     TICAIBAO：体彩报用户。
     其他的第三方单独定义。
     */
    private String source;
    private String auth_protocol;

    private String nickname;
    private String access_token;
    private Date token_expire_time;
    private Date token_create_time;
    private Date bind_time;
    private String forbidden_login_areas;
    private String last_log;
    private String data;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getOpen_id() {
        return open_id;
    }

    public void setOpen_id(String open_id) {
        this.open_id = open_id;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getAuth_protocol() {
        return auth_protocol;
    }

    public void setAuth_protocol(String auth_protocol) {
        this.auth_protocol = auth_protocol;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public Date getToken_expire_time() {
        return token_expire_time;
    }

    public void setToken_expire_time(Date token_expire_time) {
        this.token_expire_time = token_expire_time;
    }

    public Date getToken_create_time() {
        return token_create_time;
    }

    public void setToken_create_time(Date token_create_time) {
        this.token_create_time = token_create_time;
    }

    public Date getBind_time() {
        return bind_time;
    }

    public void setBind_time(Date bind_time) {
        this.bind_time = bind_time;
    }

    public String getForbidden_login_areas() {
        return forbidden_login_areas;
    }

    public void setForbidden_login_areas(String forbidden_login_areas) {
        this.forbidden_login_areas = forbidden_login_areas;
    }

    public String getLast_log() {
        return last_log;
    }

    public void setLast_log(String last_log) {
        this.last_log = last_log;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
